package com.fansl.allround.ucenter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author fansl
 * @Description: TODO
 * @date 2019/9/20 15:14
 */
@Data
@Accessors(chain = true)
@TableName("ucenter_oauth")
@EqualsAndHashCode(callSuper = true)
public class UcenterOauth extends Model<UcenterOauth> {
    /**
     * 编号
     */
    @TableId(value = "oauth_id",type = IdType.AUTO)
    private Integer oauthId;

    /**
     * 认证方式名称
     */
    private String name;
}
